find first non-repeating character in a string java